package com.ruoyi.service.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 订单耗材包对应对象 service_orderspackages
 * 
 * @author ZDL
 * @date 2024-11-27
 */
public class ServiceOrderspackages extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单耗材包主键ID */
    private Long orderspackagesId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderspackagesOrderid;

    /** 耗材包ID */
    @Excel(name = "耗材包ID")
    private Long orderspackagesPackageid;

    /** 耗材包数量 */
    @Excel(name = "耗材包数量")
    private Long orderspackagesCount;

    /** 创建者 */
    @Excel(name = "创建者")
    private String orderspackagesCreateBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderspackagesCreateTime;

    /** 更新者 */
    @Excel(name = "更新者")
    private String orderspackagesUpdateBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderspackagesUpdateTime;

    /** 启用标志（0代表启用 2代表不启用） */
    @Excel(name = "启用标志", readConverterExp = "0=代表启用,1=核对新增,2=代表不启用")
    private String orderspackagesUseFlag;

    /** 删除标志（0代表存在 2代表删除） */
    @Excel(name = "删除标志", readConverterExp = "0=代表存在,2=代表删除")
    private String orderspackagesDelFlag;

    /** 备注 */
    @Excel(name = "备注")
    private String orderspackagesRemark;

    public void setOrderspackagesId(Long orderspackagesId) 
    {
        this.orderspackagesId = orderspackagesId;
    }

    public Long getOrderspackagesId() 
    {
        return orderspackagesId;
    }
    public void setOrderspackagesOrderid(Long orderspackagesOrderid) 
    {
        this.orderspackagesOrderid = orderspackagesOrderid;
    }

    public Long getOrderspackagesOrderid() 
    {
        return orderspackagesOrderid;
    }
    public void setOrderspackagesPackageid(Long orderspackagesPackageid) 
    {
        this.orderspackagesPackageid = orderspackagesPackageid;
    }

    public Long getOrderspackagesPackageid() 
    {
        return orderspackagesPackageid;
    }
    public void setOrderspackagesCount(Long orderspackagesCount) 
    {
        this.orderspackagesCount = orderspackagesCount;
    }

    public Long getOrderspackagesCount() 
    {
        return orderspackagesCount;
    }
    public void setOrderspackagesCreateBy(String orderspackagesCreateBy) 
    {
        this.orderspackagesCreateBy = orderspackagesCreateBy;
    }

    public String getOrderspackagesCreateBy() 
    {
        return orderspackagesCreateBy;
    }
    public void setOrderspackagesCreateTime(Date orderspackagesCreateTime) 
    {
        this.orderspackagesCreateTime = orderspackagesCreateTime;
    }

    public Date getOrderspackagesCreateTime() 
    {
        return orderspackagesCreateTime;
    }
    public void setOrderspackagesUpdateBy(String orderspackagesUpdateBy) 
    {
        this.orderspackagesUpdateBy = orderspackagesUpdateBy;
    }

    public String getOrderspackagesUpdateBy() 
    {
        return orderspackagesUpdateBy;
    }
    public void setOrderspackagesUpdateTime(Date orderspackagesUpdateTime) 
    {
        this.orderspackagesUpdateTime = orderspackagesUpdateTime;
    }

    public Date getOrderspackagesUpdateTime() 
    {
        return orderspackagesUpdateTime;
    }
    public void setOrderspackagesUseFlag(String orderspackagesUseFlag) 
    {
        this.orderspackagesUseFlag = orderspackagesUseFlag;
    }

    public String getOrderspackagesUseFlag() 
    {
        return orderspackagesUseFlag;
    }
    public void setOrderspackagesDelFlag(String orderspackagesDelFlag) 
    {
        this.orderspackagesDelFlag = orderspackagesDelFlag;
    }

    public String getOrderspackagesDelFlag() 
    {
        return orderspackagesDelFlag;
    }
    public void setOrderspackagesRemark(String orderspackagesRemark) 
    {
        this.orderspackagesRemark = orderspackagesRemark;
    }

    public String getOrderspackagesRemark() 
    {
        return orderspackagesRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderspackagesId", getOrderspackagesId())
            .append("orderspackagesOrderid", getOrderspackagesOrderid())
            .append("orderspackagesPackageid", getOrderspackagesPackageid())
            .append("orderspackagesCount", getOrderspackagesCount())
            .append("orderspackagesCreateBy", getOrderspackagesCreateBy())
            .append("orderspackagesCreateTime", getOrderspackagesCreateTime())
            .append("orderspackagesUpdateBy", getOrderspackagesUpdateBy())
            .append("orderspackagesUpdateTime", getOrderspackagesUpdateTime())
            .append("orderspackagesUseFlag", getOrderspackagesUseFlag())
            .append("orderspackagesDelFlag", getOrderspackagesDelFlag())
            .append("orderspackagesRemark", getOrderspackagesRemark())
            .toString();
    }
}
